#ifndef IO_SESSION_CONFIG_H
#define IO_SESSION_CONFIG_H
#include <string>

namespace vpm
{
	namespace mina
	{
		class IoSessionConfig 
		{
		public:
            void local_host(const std::string & host)
            {
                m_localHost= host; 
            }

            std::string local_host() const 
            {
                return m_localHost; 
            }

            void local_port(int port)
            {
                m_localPort = port; 
            }

            int local_port() const 
            {
                return m_localPort; 
            }


            void remote_host(const std::string & host)
            {
                m_remoteHost= host; 
            }

            std::string remote_host() const 
            {
                return m_remoteHost; 
            }

            void remote_port(int port)
            {
                m_remotePort = port; 
            }

            int remote_port() const 
            {
                return m_remotePort; 
            }

        private:
            std::string m_localHost; 
            int m_localPort; 

            std::string m_remoteHost; 
            int m_remotePort; 
		};
	}
}

#endif // IO_SESSION_CONFIG_H
